package com.zego.wawaji.ui.store.bean;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Su on 2018/1/15.
 */

public class StoreList extends BaseData {
    private List<Store>  storeList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.storeList = (List<Store>) getBaseDataList(jsonArray, Store.class);
    }

    public List<Store> getStoreList() {
        return storeList;
    }
}
